<div class="bjui-pageContent">
    <form action="{:U('SystemConfig/operation')}" id="data_form" data-toggle="validate" data-alertmsg="false">
        <input type="hidden" name="dev_type" value="{$sysconfig_type}">
        <table class="table table-condensed table-hover" width="100%">
            <tbody>
            <if condition="$sysconfig_type == 'payment'">
                <td>
                    <label for="version" class="control-label x85">普通设备：</label>
                    <input type="text" name="sc_value" id="sc_value" value="{$data['sc_value']}" data-rule="required" size="15">
                </td>
                <td>
                    <label for="version" class="control-label x85">VIP设备：</label>
                    <input type="text" name="sc_value_2" id="sc_value_2" value="{$data['sc_value_2']}" data-rule="required" size="15">
                </td>
            <elseif condition="$sysconfig_type == 'stock'" />
                <td>
                    <label for="version" class="control-label x105">普通设备上限：</label>
                    <input type="text" name="sc_value" id="sc_value" value="{$data['sc_value']}" data-rule="required" size="15">
                </td>
                <td>
                    <label for="version" class="control-label x85">保留空闲数：</label>
                    <input type="text" name="sc_value_2" id="sc_value_2" value="{$data['sc_value_2']}" data-rule="required" size="15">
                </td>
            <elseif condition="$sysconfig_type == 'other'" />
                <td>
                    <label for="version" class="control-label x105">充值奖励次数限制：</label>
                    <input type="text" name="sc_value" value="{$data['sc_value']}" data-rule="required" size="15">
                </td>
                <td>
                    <label for="version" class="control-label x105">奖励金额比例：</label>
                    <input type="text" name="sc_value_2" value="{$data['sc_value_2']}" data-rule="required" size="15">%
                </td>
            <elseif condition="$sysconfig_type == 'msg'" />
                <td>
                    <label for="version" class="control-label x105">消息设置：</label>
                    <textarea name="sc_value" data-rule="required" size="30">{$data['sc_value']}</textarea>
                </td>
            <elseif condition="$sysconfig_type == 'version'" />
                <td>
                    <label for="version" class="control-label x105">版本号</label>
                    <input type="text" name="sc_value" value="{$data['sc_value']}" data-rule="required" size="15">
                </td>
            <elseif condition="$sysconfig_type == 'tribe'" />
                <td>
                    <label for="version" class="control-label x105">最大成员数：</label>
                    <input type="text" name="sc_value" value="{$data['sc_value']}" data-rule="required" size="15">
                </td>
                <td>
                    <label for="version" class="control-label x105">最大副首领数量：</label>
                    <input type="text" name="sc_value_2" value="{$data['sc_value_2']}" data-rule="required" size="15">
                </td>
            <elseif condition="$sysconfig_type == 'register'" />
                <td>
                    <label for="version" class="control-label x105">注册赠送金额：</label>
                    <input type="text" name="sc_value" value="{$data['sc_value']}" data-rule="required" size="15">
                </td>
            </if>
            </tbody>
        </table>
    </form>
</div>
<div class="bjui-pageFooter">
    <ul>
        <li><button type="button" class="btn-close" data-icon="close">取消</button></li>
        <li><button type="submit" class="btn-default" data-icon="save">保存</button></li>
    </ul>
</div>